package com.ryr.webservice.service;

import org.springframework.stereotype.Service;

import javax.jws.WebService;

/**
 * @author renyr
 * @version 0.1
 * @date 2021/1/21 0021 15:53
 * @since 0.1
 */
@Service
@WebService(serviceName = "WebServiceDemoService", // 与接口中指定的name一致
        targetNamespace = "http://service.webservice.ryr.com", // 与接口中的命名空间一致,一般是接口的包名倒
        endpointInterface = "com.ryr.webservice.service.WebServiceDemoService" // 接口地址
)
public class WebServiceDemoServiceImpl implements WebServiceDemoService {

    @Override
    public String hello(String name) {
        return "hello "+name;
    }


}
